package com.yunxi.model.sys;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2019-05-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "sys_pos")

@ApiModel(value="SysPos对象", description="")
public class Pos implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "POSITION_ID", type = IdType.UUID)
    private String positionId;

    @ApiModelProperty(value = "职位代码")
    @TableField("POSITION_CODE")
    private String positionCode;

    @ApiModelProperty(value = "职位名称")
    @TableField("POSITION_NAME")
    private String positionName;

    @ApiModelProperty(value = "（分类）负责板块")
    @TableField("CATEGORY")
    private String category;

    @ApiModelProperty(value = "描述")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "上级职位")
    @TableField("PID")
    private String pid;

    @ApiModelProperty(value = "所属部门")
    @TableField("DEPARTMENT_ID")
    private String departmentId;

    @ApiModelProperty(value = "所属公司")
    @TableField("COMPANY_ID")
    private String companyId;

    @ApiModelProperty(value = "状态")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "是否默认 1：默认 0：不默认")
    @TableField("IS_DEFAULT")
    private Integer isDefault;

    @TableField("TENANT_ID")
    private String tenantId;

    @ApiModelProperty(value = "等级")
    @TableField("LV")
    private String lv;

    private Integer sortNo;
    private Integer type;


}
